OLE.LoadDeveloperLicense Function
Syntax
License_Key as C = LoadDeveloperLicense(C ProgID)
Arguments
- License_Key
A key provided by the licensor of the software.
- ProgID
The software's programmatic identifier. See OLE Automation Object Browser.
Description
Load the license key (development time only) an ActiveX control.
Discussion
The OLE.LoadDeveloperLicense() method returns the key associated with a ProgID on a developer's machine. Note: This is NOT a run time function. This function retrieves the key on a development machine.
Example
? ole.addlicense("a", "lic1") = .T. ? ole.getlicense("a") = "lic1" ? ole.loaddeveloperlicense("b") ERROR: OLE: No license found for 'b' ? ole.removelicense("a") = .T. ? ole.getlicense("a") ERROR: OLE: No license found for 'a'
See Also